export default [
  {
    url: '/apidata/auth/login',
    method: 'get',
    response: () => {
      return {
        meta: {
          success: true,
          status: 200,
          message: ""
        },
        data: {
          realName: "管理员",
          userName: "admin",
          token: "f5345b90b2f95cfe592337d5b11a3861a9ea1418b338a543707375bf6fadf0385e5cf4793b0bdef0e82f070310e5c0013c4a7ad317f3812046b1912fc61fe94acbb7c796024987d86dab8cf3d7568760e14d745fc42ea80fc0ca7e33bf75b6b351bf33e173fa66b4fe10c229c9cf3aea2b634080c8271bc70a3759b33d5e60f135ce0b33efbf44efa23d7326a8bd66009cf482e652d731f175586e0fa33737aacf85a4693dc5d5a197c72b1d303891a45a42dbc70b78b8c8a2814bce367d5601aca45152b146225fca6c6dd19d1ae521",
          resList: [
            {
              "resId": "9B45ADRVGSD45GDEBD46C3791GTBSE45",
              "resName": "主应用菜单",
              "iconClass": "fa fa-tachometer"
            },
            {
              "resId": "9B45asdADRasVGSD45GDED4FTTWSSW128JHFA",
              "resPid": "9B45ADRVGSD45GDEBD46C3791GTBSE45",
              "resName": "首页",
              "iconClass": "fa fa-podcast",
              "resPvalue": "/dashboard"
            },
            {
              "resId": "9B45asdADRasVGSD45GDED4FSSWSSW128JHFA",
              "resPid": "9B45ADRVGSD45GDEBD46C3791GTBSE45",
              "resName": "测试页",
              "iconClass": "fa fa-podcast",
              "resPvalue": "/test-main"
            },
            {
              "resId": "9B45ADRVGSD45GDEBD46C3791GTBSE46",
              "resName": "子应用菜单",
              "iconClass": "fa fa-tachometer"
            },
            {
              "resId": "9B45ADRasVGSD45GDED4FTTWSSW128JHFA",
              "resPid": "9B45ADRVGSD45GDEBD46C3791GTBSE46",
              "resName": "子应用首页",
              "iconClass": "fa fa-podcast",
              "resPvalue": "/microapps/main"
            },
            {
              "resId": "9B45ADRasVGSD45GDED4FTTWDDW128JHFA",
              "resPid": "9B45ADRVGSD45GDEBD46C3791GTBSE46",
              "resName": "子应用列表页",
              "iconClass": "fa fa-podcast",
              "resPvalue": "/microapps/test"
            },
            {
              "resId": "9B45sfsADRasVGSD45GDED4FTTWSSW128JHFA",
              "resPid": "9B45ADRVGSD45GDEBD46C3791GTBSE46",
              "resName": "子应用图表页",
              "iconClass": "fa fa-podcast",
              "resPvalue": "/microapps/chart"
            }
          ]
        }
      };
    }
  },
  {
    url: '/api/v1/rest/strategy/list/page',
    method: 'get',
    response: () => {
      return {
        meta: {
          success: true,
          status: 200,
          message: ""
        },
        data: {
          total: 3,
          rows: [
            {
              strategyId: '1',
              strategyCode: 'S001',
              strategyName: '流量控制策略1',
              strategyLimitTime: 60,
              strategyLimitCount: 100,
              strategyCreateAccount: 'admin',
              strategyCreateDate: '2023-05-20 10:00:00',
              strategyComment: '测试策略1'
            },
            {
              strategyId: '2',
              strategyCode: 'S002',
              strategyName: '流量控制策略2',
              strategyLimitTime: 30,
              strategyLimitCount: 50,
              strategyCreateAccount: 'admin',
              strategyCreateDate: '2023-05-21 11:30:00',
              strategyComment: '测试策略2'
            },
            {
              strategyId: '3',
              strategyCode: 'S003',
              strategyName: '流量控制策略3',
              strategyLimitTime: 120,
              strategyLimitCount: 200,
              strategyCreateAccount: 'admin',
              strategyCreateDate: '2023-05-22 14:15:00',
              strategyComment: '测试策略3'
            }
          ]
        }
      };
    }
  },
  {
    url: '/api/v1/rest/strategy/delete',
    method: 'get',
    response: () => {
      return {
        meta: {
          success: true,
          status: 200,
          message: "删除成功"
        },
        data: {}
      };
    }
  }
]; 